﻿using Assets.Scripts.UI;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Assets.Scripts.System.GameState
{
    public class CalculatingState : IState<global::GameState>
    {
        public void OnEnter(global::GameState fromStateType)
        {
            UIManager.Instance.PushPanel(UIPanelType.CalculatingPanel);
            MapSystem.Instance.Close();
        }

        public void OnExit(global::GameState toStateType)
        {
            UIManager.Instance.PopPanel();
        }

        public void OnUpdate()
        {
            
        }


        // Use this for initialization
        void Start()
        {

        }

        // Update is called once per frame
        void Update()
        {

        }
    }
}